﻿@model Helena.Areas.Vendedores.Models.VendedorView
@using Telerik.Web.Mvc.UI
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<style type="text/css">
    .t-window
    {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 900px;
    }
</style>

@using (Html.BeginForm())
{ 
    @Html.ValidationSummary(true)
    <table>
        <tr>
            <td>
                <fieldset>    
                    <legend>Datos del Personal</legend>   
                    <div class="editor-label">
                        @Html.LabelFor(model => model.Nombre)
                    </div>
                    <div class="editor-field">
                        @Html.EditorFor(model => model.Nombre)
                        @Html.ValidationMessageFor(model => model.Nombre)
                    </div>
                    <div class="editor-label">
                        @Html.LabelFor(model => model.apaterno)
                    </div>
                    <div class="editor-field">
                        @Html.EditorFor(model => model.apaterno)
                        @Html.ValidationMessageFor(model => model.apaterno)
                    </div>
                    <div class="editor-label">
                        @Html.LabelFor(model => model.amaterno)
                    </div>
                    <div class="editor-field">
                        @Html.EditorFor(model => model.amaterno)
                        @Html.ValidationMessageFor(model => model.amaterno)
                    </div>
                    <div class="editor-label">
                        @Html.LabelFor(model => model.Telefono)
                    </div>
                    <div class="editor-field">
                        @Html.EditorFor(model => model.Telefono)
                        @Html.ValidationMessageFor(model => model.Telefono)
                    </div>
                    <div class="editor-label">
                        @Html.LabelFor(model => model.Celular)
                    </div>
                    <div class="editor-field">
                        @Html.EditorFor(model => model.Celular)
                        @Html.ValidationMessageFor(model => model.Celular)
                    </div>
                    <div class="editor-label">
                        @Html.LabelFor(model => model.Descripcion)
                    </div>
                    <div class="editor-field">
                        @Html.EditorFor(model => model.Descripcion)
                        @Html.ValidationMessageFor(model => model.Descripcion)
                    </div>
                </fieldset>
            </td>
            <td>
            
            <fieldset>    
                    <legend>Permisos al usuario</legend>
                    <div class="editor-label">
                    <table>
                    <tr><th>
                        @Html.LabelFor(model => model.admin)
                        </th><td>
                        @Html.EditorFor(model => model.admin)
                        @Html.ValidationMessageFor(model => model.admin)
                        </td>
                    </tr>
                    </table>
                    </div>
                    <div class="editor-label">
                    <table>
                    <tr><th>
                        @Html.LabelFor(model => model.venta)
                        </th><td>
                        @Html.EditorFor(model => model.venta)
                        @Html.ValidationMessageFor(model => model.venta)
                        </td>
                    </tr>
                    </table>
                    </div>
                    <div class="editor-label">
                    <table>
                    <tr><th>
                        @Html.LabelFor(model => model.salida)
                        </th><td>
                        @Html.EditorFor(model => model.salida)
                        @Html.ValidationMessageFor(model => model.salida)
                        </td>
                    </tr>
                    </table>
                    </div>
                    <div class="editor-label">
                    <table>
                    <tr><th>
                        @Html.LabelFor(model => model.ingreso)
                        </th><td>
                        @Html.EditorFor(model => model.ingreso)
                        @Html.ValidationMessageFor(model => model.ingreso)
                        </td>
                    </tr>
                    </table>
                    </div>
                    <div class="editor-label">
                    <table>
                    <tr><th>
                        @Html.LabelFor(model => model.reportediario)
                        </th><td>
                        @Html.EditorFor(model => model.reportediario)
                        @Html.ValidationMessageFor(model => model.reportediario)
                        </td>
                    </tr>
                    </table>
                    </div>
                    <div class="editor-label">
                    <table>
                    <tr><th>
                        @Html.LabelFor(model => model.reportemensual)
                        </th><td>
                        @Html.EditorFor(model => model.reportemensual)
                        @Html.ValidationMessageFor(model => model.reportemensual)
                        </td>
                    </tr>
                    </table>
                    </div>
                    <div class="editor-label">
                    <table>
                    <tr><th>
                        @Html.LabelFor(model => model.kardex)
                        </th><td>
                        @Html.EditorFor(model => model.kardex)
                        @Html.ValidationMessageFor(model => model.kardex)
                        </td>
                    </tr>
                    </table>
                    </div>
                    <div class="editor-label">
                    <table>
                    <tr><th>
                        @Html.LabelFor(model => model.envioemail)
                        </th><td>
                        @Html.EditorFor(model => model.envioemail)
                        @Html.ValidationMessageFor(model => model.envioemail)
                        </td>
                    </tr>
                    </table>
                    </div>
                    <div class="editor-label">
                    <table>
                    <tr><th>
                        @Html.LabelFor(model => model.descarga)
                        </th><td>
                        @Html.EditorFor(model => model.descarga)
                        @Html.ValidationMessageFor(model => model.descarga)
                        </td>
                    </tr>
                    </table>
                    </div>
                </fieldset>            
            </td>
            <td>
                <fieldset>    
                    <legend>Ingreso al sistema</legend>   
                    <div class="editor-label">
                        @Html.LabelFor(model => model.Usuario)
                    </div>
                    <div class="editor-field">
                        @Html.EditorFor(model => model.Usuario)
                        @Html.ValidationMessageFor(model => model.Usuario)
                    </div>
                    <div class="editor-label">
                        @Html.LabelFor(model => model.Contrasena)
                    </div>
                    <div class="editor-field">
                        @Html.EditorFor(model => model.Contrasena)
                        @Html.ValidationMessageFor(model => model.Contrasena)
                    </div>
                </fieldset>            
            </td>
        </tr>
    </table>
}